package com.bj58.mis.apm.wf.controllers;

import com.bj58.biz.wfutility.actionresult.JsonActionResult;
import com.bj58.biz.wfutility.actionresult.vo.JsonVo;
import com.bj58.wf.mvc.MvcController;
import com.bj58.wf.mvc.annotation.GET;
import com.bj58.wf.mvc.annotation.Path;

/**
 * 〈一句话功能简述〉<br>
 * 〈hello world〉
 *
 * @author zhangyu84
 * @create 2018/7/4
 * @since 1.0.0
 */
public class HelloController extends MvcController {
    @GET
    @Path("/helloWorld")
    public JsonActionResult helloworld(){
        JsonVo jsonVo=new JsonVo("hello world");
        jsonVo.setCode(1);
        jsonVo.setMsg("success");
        return  new JsonActionResult(jsonVo);
    }

}
